package vip.xianz.jobmanager.web.controller.open;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 用于视图跳转，无逻辑
 * @author submitX
 * @date 2019-5-5 08:59:27
 */
@Controller
public class ViewSkipController {

	@GetMapping(value="/2/{view}")
	public String toPageView(@PathVariable String view) {
		return view.replace("-", "/");
	}
}
